home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17454 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  682 b 

  1. Path: in2.uu.net!zdc!szdc!news
  2. From: braz@ime.usp.br (Rodrigo de Salvo Braz)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Turbo C++ won't write 0Ah to file!?!?
  5. Date: Mon, 15 Apr 1996 17:05:28 GMT
  6. Organization: Zippo
  7. Message-ID: <4ku0vl$lg3@clark.zippo.com>
  8. References: <4jnpcg$nis@tribune.concentric.net>
  9. NNTP-Posting-Host: ddata116.dialdata.com.br
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. mikolaj@concentric.com wrote:
  13.  
  14. >Turbo C++ 3.0 won't write character 0Ah to a file, instead it writes 0Dh.
  15. >What's the problem? Is this a bug?
  16. >Thanks, Mike.
  17.  
  18. If you are writing to a text file, maybe OAh (LF) is translated to
  19. CR+LF (ODh + OAh). Try opening the file as binary.
  20.  
  21. Cheers,
  22. Rodrigo Braz
  23.  
  24.  
  25.